package com.yx.modules.api.dao;

import com.yx.modules.api.entity.TbCommentDianzanRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 图书评论点赞记录
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-22 14:21:22
 */
@Mapper
@Repository
public interface TbCommentDianzanRecordDao extends BaseDao<TbCommentDianzanRecord> {

    TbCommentDianzanRecord findBookRcordByUserAndComment(@Param("userId") Integer userId, @Param("commentId") Integer id);

    TbCommentDianzanRecord findInterviewRcordByUserAndComment(@Param("userId") Integer userId, @Param("commentId") Integer id);
}
